package ooday02;

import ooday02.Student;

public class ExtendsTest {
    public static void main(String[] args) {
        //访问成员变量
        Student zs = new Student("张三",25,"深圳","jsd2302","001");

        //调用方法
        zs.eat();
        zs.sleep();
        zs.sayHi();
        zs.study();


    }
}
